home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / curdll / c_demo / sample.rc < prev   
Encoding:
Text File  |  1993-11-08  |  2.4 KB  |  95 lines

  1. // Written by:  Robert B. Cooper
  2. //              ELECTRON Software
  3. //              P.O. Box 309
  4. //              Mt. Storm, WV. 26739
  5. //              CompuServe ID#: 73244,3472
  6. //              America OnLine: ELECTRON
  7. //
  8. // Resource file for the Custom Cursor DLL Demonstration.
  9. // The resource script was written with the Application Studio that came
  10. // with Visual C++ however it should be compatible with any resource 
  11. // editor.
  12. //
  13. // You have a royalty-free right to use, modify, reproduce and distribute the
  14. // Sample Files CUS_CUR.C, CUR_DLL.DEF, CUS_CUR.H, SAMPLE.RC, RESOURCE.H and 
  15. // CUR_DEMO.MAK(and/or any modified version) in any way you find useful, 
  16. // provided that you agree that ELECTRON SOFTWARE has no warranty obligations
  17. // or liability for any Sample Application Files which are modified.
  18.  
  19.  
  20. #include "resource.h"
  21. #include "windows.h"
  22.  
  23.  
  24. //////////////////////////
  25. //                      //
  26. //       Dialog         //
  27. //                      //
  28. //////////////////////////
  29.  
  30. IDD_ABOUT DIALOG 73, 64, 185, 119
  31. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  32. CAPTION "About Custom Cursors DLL"
  33. FONT 8, "MS Sans Serif"
  34. BEGIN
  35.     DEFPUSHBUTTON "OK", IDOK, 65,102,50,14
  36.     CTEXT "Custom Cursors DLL Demo", IDC_STATIC, 48,11,87,8
  37.     LTEXT "by:", IDC_STATIC, 86,23,11,8
  38.     LTEXT "Robert B. Cooper", IDC_STATIC, 63,35,58,8
  39.     LTEXT "P.O. Box 309", IDC_STATIC, 70,46,44,8
  40.     LTEXT "Mt. Storm, WV. 26739", IDC_STATIC, 56,58,73,8
  41.     LTEXT "CompuServe ID#: 73244,3472", IDC_STATIC, 43,73,99,8
  42.     LTEXT "America OnLine: ELECTRON", IDC_STATIC, 43,82,95,8
  43. END
  44.  
  45.  
  46. //////////////////////////
  47. //                      //
  48. //      Atom Icon       //
  49. //                      //
  50. //////////////////////////
  51.  
  52. ID_ATOM ICON "atom.ico"
  53.  
  54.  
  55.  
  56. //////////////////////////
  57. //                      //
  58. //        Menu          //
  59. //                      //
  60. //////////////////////////
  61.  
  62. SampleMenu MENU 
  63. BEGIN
  64.     POPUP "&File"
  65.     BEGIN
  66.         MENUITEM "&Print", IDM_PRINT
  67.         MENUITEM SEPARATOR
  68.         MENUITEM "&Exit", IDM_EXIT
  69.     END
  70.  
  71.     POPUP "&Edit"
  72.     BEGIN
  73.         MENUITEM "Cu&t", IDM_CUT
  74.         MENUITEM "&Copy", IDM_COPY
  75.         MENUITEM "&Paste", IDM_PASTE
  76.     END
  77.  
  78.     POPUP "&Draw"
  79.     BEGIN
  80.         MENUITEM "&Line", IDM_LINE
  81.         MENUITEM "&Circle", IDM_CIRCLE
  82.         MENUITEM "&Freehand", IDM_FREEHAND
  83.         MENUITEM "&Paint", IDM_PAINT
  84.     END
  85.  
  86.     POPUP "&Help"
  87.     BEGIN
  88.         MENUITEM "&Context Help", IDM_CONTEXTHELP
  89.         MENUITEM SEPARATOR
  90.         MENUITEM "&About ...", IDM_ABOUT
  91.     END
  92.  
  93. END
  94.  
  95.